import 'package:microcosm_log/log_level.dart';

import 'microcosm_log_method_channel.dart';
import 'microcosm_log_platform_interface.dart';

typedef MicrocosmLogListener = Function(
    LogLevel level, String tag, String msg, int time);

class MicrocosmLog {
  void init(MicrocosmLogListener listener) {
    MicrocosmLogPlatform.instance = MethodChannelMicrocosmLog(listener);
  }
}
